cmake_minimum_required(VERSION 3.10)
project(LRU_test)
set(CXX_STANDARD_REQUIRED 17)
file(GLOB sources "*.cpp")
set(EXECUTABLE_OUTPUT_PATH ./bin)
add_executable(main ${sources})
add_custom_target(run
    DEPENDS main
    COMMAND $<TARGET_FILE:main>
    WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin
    COMMENT "Running compiled program"
)
